/*
 * @Author: your name
 * @Date: 2021-08-24 16:01:07
 * @LastEditTime: 2021-08-26 13:36:54
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile-h5\src\components\fd\config.ts
 */
export const ControlType = {
  TEXT: 'text',
  ROW: 'row',
  COL: 'col',
  INPUT: 'input',
  INPUT_NUMBER: 'inputNumber',
  DATE_PICKER: 'datePicker',
  SELECT: 'select',
  RADIO: 'radio',
  CHECKBOX: 'checkbox',
  TEXT_AREA: 'textArea',
  SWITCH: 'switch',
  UPLOAD: 'upload',
  TABLE: 'table',
  DIVIDLINE: 'dividLine',
  ADJUSTSPACING: 'adjustSpacing',
  IMG: 'img',
  DATALINK: 'dataLink',
  DATALINKCOMBOX: 'dataLinkComBox',
};

export const sessionStorageKey = {
  lov_name: 'lov_name', //lov组件的name
  showFieldName: 'showFieldName', //lov的显示字段
  filedShowName: 'filedShowName', //表格行数据展示的列
  lov_data: 'lov_data', //lov组件选中的行数据
  lov_cachedata: 'lov_cachedata', //lov组件在选择的时候路由切换导致之前填的数据丢失 缓存总数据
  scrollTop: 'lov_scrollTop', //当前滚动条的高度
};
